package com.rjwh.dingdong.client.mvp.view;

import com.orangegangsters.github.swipyrefreshlayout.library.SwipyRefreshLayoutDirection;
import com.rjwh.dingdong.client.bean.localbean.BannerData;
import com.rjwh.dingdong.client.bean.localbean.ScoreRankListItemData;
import com.rjwh.dingdong.client.mvp.MvpView;

import java.util.List;

/**
 * @author 王小珂
 * @ClassName HomeWorkRankView
 * @Description
 * @date 2017-1-5
 * @history 2017-1-5 author: description:
 */

public interface HomeWorkRankView extends MvpView{
    void setRefreshing(boolean isRefresh);

    void setDirection(SwipyRefreshLayoutDirection direction);

    void loadData(boolean isRefresh, List<ScoreRankListItemData> homeworklist);

    void setRuleData(String ruleactionurl, String ranktitle);

    void setBannerData(List<BannerData> bannerlist);
}
